package com.demo.tx;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableDiscoveryClient
@MapperScan("com.demo.tx.dao.mapper")
@EnableFeignClients({"com.demo.miya.controller.client", "com.demo.tx.feign"})
@SpringBootApplication
public class ServiceTxApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServiceTxApplication.class, args);
    }

}
